package com.css.fxfzysx.modules.vabStructure.entity;

import com.css.fxfzysx.modules.vabStructure.utils.DoubleDecimal;
import com.css.fxfzysx.modules.vabStructure.utils.UnitTranslate;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Data
@Table(name = "czt_crs_calstorey_result")
@Entity
public class CztCrsStoreyCalResult {
    @Id
    @Column(name = "cal_id")
    private  String calId ;
    //建筑物id
    @Column(name = "entirety_id")
    private String entiretyId ;

    /**
     * 建筑编号
     */
    @Column(name = "num")
    private String number ;

    /**
     * 结构基本自振周期 T1 可以手动输入
     */
    @DoubleDecimal
    @Column(name = "t1")
    private double t1;

    /**
     * 第i层的重力
     */
    @DoubleDecimal
    @Column(name = "g1")
    private double gi ;

    /**
     * 中间变量，用来计算地震剪力
     */
    @DoubleDecimal
    @Column(name = "qek")
    private double qek ;

    /**
     * 中间变量，用来计算地震剪力
     */
    @DoubleDecimal
    @Column(name = "sigema_n")
    private double sigemaN ;

    /**
     * 第i层的地震剪力
     */
    @DoubleDecimal
    @Column(name = "qmi")
    private double qmi ;

    /**
     * 带边框柱的钢筋混凝土抗震墙的层间现有受剪承载力 （剪力墙的q）
     */
    @Column(name = "qwz")
    private double qwz ;

    /**
     * 	矩形框架柱层间屈服剪力（框架的q ）
     */
    @Column(name = "qcz")
    private double qcz ;

    /**
     * 砖填充墙钢筋混凝土框架结构的层间现有受剪承载力（填充墙的q）
     */
    @Column(name = "qmz")
    private double qmz ;


    /**
     * 楼层号
     */
    @Column(name = "floor_num")
    private Integer floorNum ;

    /**
     * 层高
     */
    @Column(name = "floor_height")
    private double floorHeight;

    /**
     * 活荷载
     */
    @Column(name = "live_load")
    private double liveLoad;

    /**
     * 楼宽
     */
    @Column(name = "build_width")
    @UnitTranslate
    private double buildWidth;


    /**
     * 榀数
     */
    @Column(name = "number_of_pieces")
    private Integer numberOfPieces;

    /**
     *每榀间距放到层参数里比较好。
     */
    @Column(name = "truss_spacing")
    private Double trussSpacing;

    /**
     * N 的计算值
     */
    @Column(name = "n_value")
    private Double nValue;

    @Column(name = "del_flag")
    private String delFlag ;

    @Column(name = "extends1")
    private String extends1;

    @Column(name = "extends2")
    private String extends2;

    @Column(name = "extends3")
    private String extends3;

    @Column(name = "extends4")
    private String extends4;

    @Column(name = "extends5")
    private String extends5;

    @Column(name = "extends6")
    private String extends6;

    @Column(name = "extends7")
    private String extends7;

    @Column(name = "extends8")
    private String extends8;

    @Column(name = "extends9")
    private String extends9;

    @Column(name = "extends10")
    private String extends10;



}
